package com.vilen.retrofit2helloworld_1.domain;

import java.util.List;

public class ResponseJson3<M> {
  private int resultCode;
  private String message;
  private List<M> data;

  public ResponseJson3() {
  }

  public ResponseJson3(int resultCode, String message, List<M> data) {
    this.resultCode = resultCode;
    this.message = message;
    this.data = data;
  }

  public List<M> getData() {
    return data;
  }

  public void setData(List<M> data) {
    this.data = data;
  }

  public int getResultCode() {
    return resultCode;
  }

  public void setResultCode(int resultCode) {
    this.resultCode = resultCode;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }



  @Override public String toString() {
    return "ResponseJson3{" +
        "resultCode=" + resultCode +
        ", message='" + message + '\'' +
        ", data=" + data +
        '}';
  }
}
